

var CODE ={};


// 成功
CODE.OPERATION_SUCCESS = "成功";
CODE.OPERATION_FAILED = "失败";

CODE.SVR_OP_FAILED = "服务器有点不舒服";

// 生成图片时的临时文件夹地址
CODE.PASSWORD_EMPTY = "密码为空";
CODE.MOBILE_EMPTY = "手机号为空";
CODE.DEVICE_EMPTY = "device为空";
CODE.UUID_EMPTY = "uuid为空";
CODE.USER_ID_EMPTY = "用户ID为空";
CODE.GOODS_ID_EMPTY = "商品ID为空";
CODE.ORDER_ID_EMPTY = "订单ID为空";
CODE.ORDER_TYPE_EMPTY = "订单类型为空";
CODE.ORDER_COUNT_EMPTY = "订单中的数量为空";
CODE.DETAIL_ORDER_ID_EMPTY = "子订单ID为空";
CODE.INVOICE_INFO_EMPTY = "发票订单信息为空";
CODE.TYPE_L_EMPTY = "一级分类为空";
CODE.TYPE_M_EMPTY = "二级分类为空";
CODE.TYPE_S_EMPTY = "三级分类为空";
CODE.TYPE_L_ERROR = "一级分类错误";
CODE.TYPE_M_ERROR = "二级分类错误";
CODE.TYPE_S_ERROR = "三级分类错误";
CODE.DOC_DATA_EMPTY = "文档数据为空";
CODE.DOC_ID_EMPTY = "文档ID为空";
CODE.DOC_TYPE_EMPTY = "文档分类为空";
CODE.FEEDBACK_EMPTY = "满意度为空";
CODE.MAIL_EMPTY = "邮箱为空";
CODE.PAGE_ID_EMPTY = "页ID为空";
CODE.PAGENUM_EMPTY = "页码数为空";
CODE.PAGESIZE_EMPTY = "页容量为空";
CODE.SERACH_KEYWORD_EMPTY = "关键字为空";
CODE.SERACH_KEYWORD_TOO_LONG = "关键字太长咯";
CODE.DOC_ID_INVAILD = "无效文档ID";
CODE.USER_ID_INVAILD = "无效用户ID";
CODE.PAGE_THUMB_EMPTY = "文档页预览图未生成";
CODE.CANNOT_FIND_DESIGN = "没有找到匹配的设计";
CODE.ADDRESS_ID_EMPTY = "地址ID为空";
CODE.ADDRESS_EMPTY = "地址信息为空";

CODE.CREATE_USER_ERROR = "创建用户失败";
CODE.CREATE_USER_EXIST = "该用户已存在";
CODE.UNKNOWN_USER = "未知用户";
CODE.CREATE_DOC_ERROR = "创建文档失败";
CODE.UPDATE_DOC_ERROR = "更新文档失败";
CODE.CREATE_PAGE_ERROR = "创建文档页失败";
CODE.DELETE_PAGE_ERROR = "删除文档页失败";
CODE.DELETE_DOC_NOT_ALLOWED = "不允许删除该文档";
CODE.CREATE_COLLECT_ERROR = "收藏文档失败";
CODE.LOGIN_CHECK_ERROR = "用户名或密码错误";
CODE.UPDATE_PASSWORD_ERROR = "密码更新失败";
CODE.DELETE_TEMPLATE_ERROR = "不能删除公共模版";

CODE.WX_USER_OAUTH_ERR = "微信用户认证失败";

CODE.TEXT_PARA_EMPTY = "文字服务参数为空";

CODE.TYPE_L_NOT_SUPPORT = "不支持此一级分类";
CODE.HOME_CODE_TIME_OUT = "验证码超时";


// 一键秀挑战活动的消息
CODE.YJX_ACTIVITY_SUCCESS_ADD_PRODUCT = '挑战成功！可在"我的"->"我的挑战"中查看活动状态!';
CODE.YJX_ACTIVITY_FAIL_SAME_PRODUCT  = '挑战作品已经存在，请勿重复提交！';
CODE.YJX_ACTIVITY_FAIL_REACH_PRODUCT_LIIT  = '挑战作品已经达到上限，尝试其它挑战吧！';
CODE.YJX_ACTIVITY_FAIL_PARAMETER_ERROR  = '处理失败！参数错误！';
CODE.YJX_ACTIVITY_FAIL_REMAINDER_NOT_ENOUGH  = '余额不足！';
CODE.YJX_ACTIVITY_FAIL_REMAINDER_NOT_EQUAL = '表示输入的总收益与实际总收益不相同';
CODE.YJX_ACTIVITY_FAIL_REMAINDER_THRESHOLD  = '您的余额未达到提现所需的最低额度！';
CODE.YJX_ACTIVITY_FAIL_PARTNER_COMPANY_USER  = '属于合作公司的个人用户不能直接提现！';
CODE.YJX_ACTIVITY_FAIL  = '处理失败！';
CODE.YJX_ACTIVITY_FAIL_CASH_LIMIT_MIN = '少于最小提现额度！';
CODE.YJX_ACTIVITY_FAIL_CASH_LIMIT_MAX = '大于最大提现额度！';


//------------------------------------------------------------------
module.exports = CODE;
